package com.lijiajia.cloud.common.core.rest;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 接口返回结果标识
 *
 * @author lijiajia
 * @since 2019-04-05
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RestResult {
    RestResultType type() default RestResultType.JSON;

    enum RestResultType {
        JSON,
    }
}
